﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DTO;
using BUS;

namespace NGU.WUC
{
    public partial class search_box_hotel : System.Web.UI.UserControl
    {
        protected List<HangPhongDTO> hangPhongLst = new List<HangPhongDTO>();
        protected List<LoaiPhongDTO> loaiPhongLst = new List<LoaiPhongDTO>();
        protected List<NhaCungCapDTO> nccLst = new List<NhaCungCapDTO>();        
        protected void Page_Load(object sender, EventArgs e)
        {
            HotelBUS hotelBus = new HotelBUS();
            this.hangPhongLst = hotelBus.layDSHangPhong();
            this.loaiPhongLst = hotelBus.layDSLoaiPhong();
            NhaCungCapBUS nccBus = new NhaCungCapBUS();
            this.nccLst = nccBus.layDSNhaCungCapTheoLoaiNCC("Dịch vụ khách sạn");           
        }
    }
}